Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add long-to-boolean conversion methods to KiwiJdbc #1056

Merged

Conversation

sleberknight
Copy link
Member

@sleberknight sleberknight commented Oct 7, 2023

  • Add overloaded booleanFromLong methods. Both accept a ResultSet and a String columnName, but one accepts a BooleanConversionOption argument while the other doesn't. The one that does not accept a BooleanConversionOption uses the ZERO_OR_ONE option.

Closes #1045

* Add overloaded booleanFromLong methods. Both accept a ResultSet
  and a String columnName, but one accepts a BooleanConversionOption
  argument while the other doesn't. The one that does not accept
  a BooleanConversionOption uses the ZERO_OR_ONE option.

Closes #1045
@sleberknight sleberknight force-pushed the 1045-long-to-boolean-conversion-methods-in-KiwiJdbc branch from c719a62 to 0f19a08 Compare October 7, 2023 20:56
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sleberknight sleberknight merged commit 4f765c7 into master Oct 7, 2023
6 checks passed
@sleberknight sleberknight deleted the 1045-long-to-boolean-conversion-methods-in-KiwiJdbc branch October 7, 2023 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new KiwiJdbc utilities to convert from a long (used as a boolean) to boolean
4 participants